<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/jstl/fn.tld" prefix="fn" %>
<!-- 显示信息相关 -->

			<!-- 加入购物车 form -->
			<form class="form-signin" action="<%=basePath%>cart/add" method="post">
				<div class="modal-body  onedivPro">
				<input type="hidden" name="sendPage"  value="show/${oneGoods.id}"/>
				<input type="hidden" name="id"  value="${oneGoods.id}"/>
			  		<div class="control-group">
		        		<span class="z5">商品名称</span>
		        		<input type="text" name="name" class="oneinput" value="${oneGoods.name}" readonly="readonly"   >
		       		 </div>
		       		 <div class="control-group">
		        		<span class="z5">商品单价</span>
		        		<input type="text" name="price" class="oneinput" value="${oneGoods.price}" readonly="readonly"   >
		       		 </div>
				 	<div class="control-group">
		        		<span class="z5">选择数量</span>
		        		<input type="text" name="num" class="oneinput"  placeholder="输入放入数量" required autofocus>
		       		 </div>
		  		</div>
	       		<div class="modal-footer">
		 		 <button class="btn btn-large btn-success btn-block" type="submit">确认添加</button>
				</div>
			</form>
<style type="text/css">

.onedivPro {
	width: 320px;
	margin: 0px auto;
	margin-top: 22px;
}
</style>